<template>
  <div>
    <custom-form
      add-title="维修指派"
      :columns="columns"
      :rules="rules"
      v-bind="$attrs"
      v-on="$listeners"
    >
    </custom-form>
  </div>

</template>

<script>
import customFromMixin from '@/utils/mixin/custom-form'

export default {
  name: 'SelectRepairUserForm',
  mixins: [customFromMixin],
  data() {
    return {
      rules: {},
      // 列配置
      columns: [
        {
          name: '维护员',
          field: 'repair_user_id',
          opts: { control: 'repair_user', name: 'real_name', required: true, reload: true },
          type: 'select_table'
        },
        // { name: '租户', field: 'user.nickname', opts: { control: 'user', label: 'nickname' }, type: 'select_table' },
        { name: '跟进备注', field: 'mark', type: 'textarea', opts: { maxlength: 120 } }
      ]
    }
  },
  watch: {},
  methods: {}
}
</script>

<style scoped>

</style>
